<?php 
/* WPU Option: */
global $tadosubhead; if ($tadosubhead == 1) {

/* Not showed in home, search and single */ if (!is_home() && !is_search() && !is_single()) { ?>

<?php /* If this is a category archive */ if (is_category()) { ?>

<div id="subfoot" class="is_category">
<p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.
</p></div>

<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>

<div id="subfoot" class="is_day">
<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>">
<?php echo bloginfo('name'); ?></a> weblog archives for the day 
<?php the_time('l, F jS, Y'); ?>.</p>
</div>
			
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>

<div id="subfoot" class="is_month">
<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>">
<?php echo bloginfo('name'); ?></a> weblog archives for 
<?php the_time('F, Y'); ?>.
</p></div>
	
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>

<div id="subfoot" class="is_year">
<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>">
<?php echo bloginfo('name'); ?></a> weblog archives for the year 
<?php the_time('Y'); ?>.
</p></div>

<?php /* If this is a author archive */ } elseif (is_author()) { 

	if(get_query_var('author_name')) :
		$curauth = get_userdatabylogin(get_query_var('author_name'));
	else :
		$curauth = get_userdata(get_query_var('author'));
	endif;

	$current_author = $curauth->nickname;?>

<div id="subfoot" class="is_author">
<p>You are currently browsing <?php echo $current_author; ?> archives
for <?php echo bloginfo('name'); ?>.</p></div>

<?php } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>

<div id="subfoot" class="paged">
<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>">
<?php echo bloginfo('name'); ?></a> weblog archives.
</p></div>

<?php } ?>


<?php }} ?>